package net.osweb.crm.modules.event.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Tagcategory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "event_tagcategory")
public class TagCategory implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -5521716841032473395L;
	private Integer id;
	private Integer userid;
	private String keyname;
	private String types;
	private String description;
	private Integer isavailability;
	private String comment;

	// Constructors

	/** default constructor */
	public TagCategory() {
	}

	/** full constructor */
	public TagCategory(Integer userid, String keyname, String types,
			String description, Integer isavailability, String comment) {
		this.userid = userid;
		this.keyname = keyname;
		this.types = types;
		this.description = description;
		this.isavailability = isavailability;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "keyname")
	public String getKeyname() {
		return this.keyname;
	}

	public void setKeyname(String keyname) {
		this.keyname = keyname;
	}

	@Column(name = "types")
	public String getTypes() {
		return this.types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	@Column(name = "description")
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "isavailability")
	public Integer getIsavailability() {
		return this.isavailability;
	}

	public void setIsavailability(Integer isavailability) {
		this.isavailability = isavailability;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}